package org.vacoor.nothing.web.misc.codegen;

/**
 */
public class MappedField {
    private final String property;
    private final String javaType;  /* full name */
    private final String column;

    public MappedField(String property, String javaType, String column) {
        this.property = property;
        this.javaType = javaType;
        this.column = column;
    }

    public String getProperty() {
        return property;
    }

    public String getJavaType() {
        return javaType;
    }

    public String getColumn() {
        return column;
    }

    @Override
    public String toString() {
        return property + "(" + column + ") " + javaType;
    }
}

